<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>文章新增</title>
  <link rel="stylesheet" href="../../lib/bootstrap-3.4.1-dist/css/bootstrap.css">
  <script src="../../lib/jquery/jquery-3.6.0.min.js"></script>
  <script src="../../lib/bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>
  <link rel="stylesheet" href="./font/iconfont.css">
  <style>
    * {
      padding: 0;
      margin: 0;
    }

    body {
      background-color: #F2F2F2;
    }

    .nav {
      /* border: 1px solid red; */
      background-color: white;
      font-size: 16px;
    }

    .nav>div:nth-of-type(1) {
      margin-top: 30px;
      margin-left: 30px;
      font-size: 22px;
    }

    .nav>div {
      margin-left: 30px;
      /* margin-top: 20px; */
    }

    .nav>div:nth-of-type(2) {
      height: 80px;
      line-height: 80px;
      margin-left: 30px;
    }

    .red {
      color: #FF5584;
      font-size: 16px;
    }

    .nav>div>div>select {
      width: 50%;
      height: 40px;
      margin-left: 25px;
    }

    .nav>div:nth-of-type(3)>input {
      width: 84.5%;
      height: 40px;
      margin-left: 25px;
      margin-bottom: 20px;
    }

    .addph {
      background-color: #F6F7F8;
      margin-left: -68px;
    }

    .addph>div:nth-of-type(1)>div {
      height: 72px;
      width: 72px;
      border: 1px dashed rgb(192, 180, 180);
      margin: 20px 0 10px 0px;
      color: rgb(192, 180, 180);
    }

    .addph>div:nth-of-type(1)>div:hover {
      color: #0099FF;
      border-color: #0099FF;
      cursor: pointer;
    }

    .addph>div:nth-of-type(1)>div>span {
      /* padding-top: 30px;
      margin-left: 30px; */
      position: absolute;
      top: 40px;
      left: 45px;
      font-size: 22px;

    }

    .addph>div:nth-of-type(1)>div>p {
      /* margin-bottom: 0px;
      margin-left: 30px; */
      position: absolute;
      bottom: 5px;
      left: 42px;
    }

    #a {
      display: none;
    }

    label {
      display: inline-block;
      width: 36px;
      height: 21px;
      background-color: #CCCCCC;
      border-radius: 25px;
      margin-left: 25px;
      margin-bottom: 0px;
      /* margin-top: 10px; */
      /* position: absolute; */

    }

    .ball {
      display: block;
      width: 20px;
      height: 20px;
      background-color: white;
      border-radius: 25px;
    }

    [type="checkbox"]:checked+label {
      background-color: #33ADFF;

    }

    [type="checkbox"]:checked+label>span {
      margin-left: 15px;
      transition: all 0.2 linear;
    }

    .nav>div:nth-of-type(5) {
      margin-top: 20px;
      margin-bottom: 20px;
    }

    .cont {
      /* background-color: #F6F7F8; */
      margin-left: -68px;
      padding: 0px;
      /* height: 80px; */
    }

    .cont_nav {
      /* border: 1px solid rgb(184, 168, 168); */
      background-color: #F6F7F8;

    }

    .icon {
      width: 30px;
      height: 30px;
      text-align: center;
      padding: 5px 0;
    }

    .icon:hover {
      background-color: rgb(209, 206, 206);
    }

    .icon>span {
      text-align: center;
      font-weight: bold;
      color: #929ba5;
    }

    .icon_f {
      /* height: 600px; */
      background-color: white;
      padding: 0px;

    }

    .icon_f>input {
      width: 100%;
      border: 1px solid #F6F7F8;
      height: 600px;
      outline: none;
    }

    .foot {
      margin: 30px 0 50px 0;
    }

    .foot>div:nth-of-type(2)>button {
      width: 125px;
      height: 45px;
      margin-left: -88px;
      color: white;
      background-color: #33ADFF;
      border: #33ADFF;
      border-radius: 3px;
    }

    .foot>div:nth-of-type(2)>button:hover {
      opacity: 0.8;
    }

    .foot>div:last-child>button {
      width: 125px;
      height: 45px;
      border-radius: 3px;
      background-color: #FFFFFF;
      border: 3px solid #F6F7F8;

    }

    .foot>div:last-child>button:hover {
      border-color: #33ADFF;
      color: #33ADFF;
    }
  </style>
</head>

<body>
  <div class="container nav">
    <div class="col-md-9 col-xs-9">新增文章</div>
    <div class="row">
      <div class="col-md-9 col-xs-9">
        <span class="red">*</span>
        <span>新增文章</span>
        <select name="" id="">
          <option value="">请选择分类</option>
          <option value="">送老师</option>
          <option value="">送老婆</option>
          <option value="">送闺蜜</option>
          <option value="">送女友</option>
          <option value="">送男友</option>
          <option value="">送长辈</option>
          <option value="">送父母</option>
          <option value="">送子女</option>
        </select>
      </div>
    </div>
    <div class="col-md-12 col-xs-12">
      <span class="red">*</span>
      <span>文章标题</span>
      <input type="text">
    </div>
    <div class="row">
      <div class="col-md-2 col-xs-2">
        <span class="red">*</span>
        <span>封面图片</span>
      </div>
      <div class="col-md-10 col-xs-10 addph">
        <div class="col-md-12 col-xs-12">
          <div>
            <span>+</span>
            <p>(1)</p>
          </div>
        </div>
        <div class="col-md-12 col-xs-12">
          <span>支持JPG、PNG、GIF格式的图片，大小请小于2M，尺寸大于等于600*600px </span>
        </div>
      </div>
    </div>
    <div class="col-md-12 col-xs-12">
      <span class="red">*</span>
      <span>当前状态</span>
      <input type="checkbox" id="a">
      <label for="a">
        <span class="ball"></span>
      </label>
    </div>
    <div class="row">
      <div class="col-md-2 col-xs-2">
        <span class="red">*</span>
        <span>文章详情</span>
      </div>
      <div class="col-md-10 col-xs-10  cont">
        <div class="col-md-12 col-xs-12 cont_nav">
          <div class="row">
            <div class="col-md-6 ">
              <div class="row">
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont ">H</span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont ">B</span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-i"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-u1"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont ">S</span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-bianji"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-maobi"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-lianjie"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-liebiao"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-duanla-zuoduiqi"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-yinhao1"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-tup"></span></div>
                </div>


              </div>
            </div>
            <div class="col-md-6">
              <div class="row">
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-rili"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-bofang"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-zuofanhui1"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"><span class="iconfont icon-youfanhui1"></span></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"></div>
                </div>
                <div class="col-md-1 col-xs-1">
                  <div class="icon"></div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="col-md-12 col-xs-12 icon_f">
          <input type="text">
        </div>
      </div>
    </div>
    <div class="col-md-12 col-xs-12 foot">
      <div class="col-md-2 col-xs-2"></div>
      <div class="col-md-1 col-xs-1"><button>确定</button></div>
      <div class="col-md-1 col-xs-1"><button>取消</button></div>
    </div>
  </div>
</body>

</html>